package com.movie.ticket.sale.cinema.assembly.cinemaassembly;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient//启动服务发现客户端
@ComponentScan("com.movie.ticket.sale.cinema")
@MapperScan("com.movie.ticket.sale.cinema.assembly.cinemaassembly.dao")
@EnableCaching
public class CinemaAssemblyApplication {

    public static void main(String[] args) {
        SpringApplication.run(CinemaAssemblyApplication.class, args);
    }

}
